#include "Point2f.h"
#include <vector>


#ifndef __ABLIEFERN_MOUSE_RECORDER
#define __ABLIEFERN_MOUSE_RECORDER




namespace abliefern {
	
	class MouseRecorder {
	public:
		
		MouseRecorder();
	
		void addPosition(float theX, float theY);
		
		Point2f get();
		
		void clear();
		
		void reset();
		
		int length();
		
		void advance();
		
		bool isAtEnd();
		
		int position();
		
	private:
		std::vector<abliefern::Point2f> _myPoints;

		int _myPointer;
				
	};
	
	
	
}

#endif